package com.example.fragment.tool;

import com.bin.david.form.data.table.TableData;

/*
cause by原昊
 */
public class User {

    private  int id;
    private String data;
    private String timer;
    private String category;
    private String product;
    private String germ;
    private String timelong;
    private String onclick;
    private boolean isCheck,photo,change;
    private TableData.OnItemClickListener onItemClickListener;
    public User(String data, String timer, String category, String product, String germ, String onclick, boolean isCheck) {
        this.data=data;
        this.timer=timer;
        this.category=category;
        this.product=product;
        this.germ=germ;
        this.onclick=onclick;
        this.isCheck = isCheck;
    }
    public User(boolean photo, String timer, String category, String product, boolean change, boolean isCheck) {
        this.photo=photo;
        this.timer=timer;
        this.category=category;
        this.product=product;
        this.change=change;
        this.isCheck = isCheck;
    }
    public User(String data,  String germ,String timer, String timelong, boolean change, boolean isCheck) {
        this.data=data;
        this.timer=timer;
        this.germ=germ;
        this.timelong=timelong;
        this.change=change;
        this.isCheck = isCheck;
    }
    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public String getTimer() {
        return timer;
    }

    public void setTimer(String timer) {
        this.timer = timer;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getProduct() {
        return product;
    }

    public void setProduct(String product) {
        this.product = product;
    }

    public String getGerm() {
        return germ;
    }

    public void setGerm(String germ) {
        this.germ = germ;
    }

    public String getOnclick() {
        return onclick;
    }

    public void setOnclick(String onclick) {
        this.onclick = onclick;
    }

    public boolean isCheck() {
        return isCheck;
    }

    public void setCheck(boolean check) {
        isCheck = check;
    }
    public Boolean getCheck() {
        return isCheck;
    }
    /**
     * 获取表格所在行列的点击事件
     */
    public TableData.OnItemClickListener getOnItemClickListener() {
        return onItemClickListener;

    }

    public void setOnItemClickListener( ) {
        this.onItemClickListener = onItemClickListener;

    }

}
